package main

import(
	"fmt"
	"reflect"
)

type order struct{
	ordId int
	customerId int
}

func query(q interface{}) {
	t := reflect.TypeOf(q)
	v := reflect.ValueOf(q)
	fmt.Println("Type ", t)
	fmt.Println("Value ", v)
}

func main(){
	o := order{
		ordId: 456,
		customerId: 56,
	}
	query(o)
}